// utilityDlg.h : header file
//

#if !defined(AFX_UTILITYDLG_H__92B271E6_B9CD_11D5_8229_5254AB12EE1E__INCLUDED_)
#define AFX_UTILITYDLG_H__92B271E6_B9CD_11D5_8229_5254AB12EE1E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CUtilityDlg dialog

#include "Gridctrl.h"
#include "CoordTran.h"
#include "ProjectTran.h"

class CUtilityDlg : public CDialog
{
// Construction
public:
	int FillBLHList(CCoordTranBase * base);
	void InitBLHList(void);
	void InitXYZList();
	int FillXYZList(CCoordTranBase * base);
	CUtilityDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CUtilityDlg)
	enum { IDD = IDD_UTILITY_DIALOG };
	CButton	m_but2;
	CButton	m_but1;
	int		m_sel1;
	int		m_sel2;
	//}}AFX_DATA
	CGridCtrl m_xyzList;
	CGridCtrl m_blhList;
	CCoordTran tran;
	CProjectTran ptran;

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CUtilityDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;
	HICON m_ico1;
	HICON m_ico2;

	// Generated message map functions
	//{{AFX_MSG(CUtilityDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnFileOpen();
	afx_msg void OnButton1();
	afx_msg void OnButton2();
	afx_msg void OnValSet();
	afx_msg void OnFileSavedata();
	afx_msg void OnFileSaveres();
	afx_msg void OnPrintData();
	afx_msg void OnPrintRes();
	afx_msg void OnAboutbox();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_UTILITYDLG_H__92B271E6_B9CD_11D5_8229_5254AB12EE1E__INCLUDED_)
